package org.jeecg.modules.hc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description: 用户
 * @Author: jeecg-boot
 * @Date: 2022-12-13
 * @Version: V1.0
 */
@Data
@TableName("hc_user")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "hc_user对象", description = "用户")
public class HcUser implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    @ApiModelProperty(value = "钱包余额")
    private BigDecimal walletBalance;

    @TableField(exist = false)
    @ApiModelProperty(value = "token")
    private String token;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private java.lang.String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
    /**
     * 微信OPENID
     */
    @ApiModelProperty(value = "微信OPENID")
    private java.lang.String openId;

    /**
     * 手机号
     */
    @Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private java.lang.String phone;
    /**
     * 头像
     */
    @Excel(name = "头像", width = 15)
    @ApiModelProperty(value = "头像")
    private java.lang.String headPortrait;
    /**
     * 昵称
     */
    @Excel(name = "昵称", width = 15)
    @ApiModelProperty(value = "昵称")
    private java.lang.String nickname;
    /**
     * 地址ID
     */
    @Excel(name = "地址ID", width = 15)
    @ApiModelProperty(value = "地址ID")
    private java.lang.String addressId;

    @Excel(name = "大厦名称", width = 15)
    @ApiModelProperty(value = "大厦名称")
    private String addressName;

    /**
     * 取餐姓名
     */
    @Excel(name = "取餐姓名", width = 15)
    @ApiModelProperty(value = "取餐姓名")
    private java.lang.String nameTakingMeal;
    /**
     * 取餐手机号
     */
    @Excel(name = "取餐手机号", width = 15)
    @ApiModelProperty(value = "取餐手机号")
    private java.lang.String phoneTakingMeals;
    /**
     * 地址经度
     */
    @ApiModelProperty(value = "地址经度")
    private BigDecimal addressLongitude;
    /**
     * 地址纬度
     */
    @ApiModelProperty(value = "地址纬度")
    private BigDecimal addressLatitude;
    /**
     * 供应地址名称
     */
    @ApiModelProperty(value = "供应地址名称")
    private String supplyAddressName;
    /**
     * 供应地址代号
     */
    @ApiModelProperty(value = "供应地址代号")
    private String supplyAddressCode;

    /**
     * 楼层房间代号 //panjixiang
     */
    @ApiModelProperty(value = "楼层房间代号")
    private java.lang.String supplyHomeCode;
}
